MFG SAP S/4HANA Orders System API - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
createOrdersRequestCreate Sales Order Request Mapping
getOrderByIdResponseRetrieve Sales Order by Id Response Mapping
getOrderListResponseRetrieve Sales Order List Response Mapping
updateOrdersRequestUpdate Sales Order Request Mapping

createOrdersRequest

Create Sales Order Request Mapping

Source: ./src/main/resources/dwl/createOrdersRequest.dwl

Mapping Tables

Create Sales Order request mapping.

SAP HANA FieldCIM FieldDescription of source field
SalesOrderTypesalesOrderTypeSales Order Type
SalesOrganizationsalesOrganizationSales Organization
DistributionChannelsalesChannelSales Channel Name
OrganizationDivisionorganizationDivisionSales Order division
SoldToPartysoldToCustomersoldToCustomer Id
PurchaseOrderByCustomerpurchaseOrderNumberPurchase Order Number
TransactionCurrencyorderCurrencycurrency details
TotalNetAmounttotalProductAmounttotal amount
YY1_SME_MORDERID_MFG_SDHexternalIds.externalIdMaster Order Id
to_PricingElement.ConditionType"YBHD"condition type
to_PricingElement.ConditionCurrencyorderCurrencycurrency of Order
to_PricingElement.ConditionRateValuetotalDeliveryFeeAmountTotal Delivery Amount of Order
to_Item.NetAmounttotalLineAmountSales Order Net Amount
to_Item.MaterialorderProductNumberMaterial Details
to_Item.ItemWeightSAPUnit"PC"Sales Order unit details
to_Item.TransactionCurrencyorderCurrencySales Order transaction currency
to_Item.ProductionPlantproductionPlantSAP HANA Production Plant
to_Item.RequestedQuantityorderedQuantityQuantity of Order
to_Item.SalesOrderItemindex+1Sales Order Item

(back to top)

getOrderByIdResponse

Retrieve Sales Order by Id Response Mapping

Source: ./src/main/resources/dwl/getOrderByIdResponse.dwl

Mapping Tables

Get Sales Order response mapping.

Resp FieldSales Order Source fieldDescription of source field
nameSenderBusinessSystemNameSales Order Name
idSalesOrderSales Order Id
orderNumberSalesOrderSales Order Number
descriptionSalesOrderItemTextSales Order Description
requestedStartDateCreationDateStart Date of Order
totalProductAmountTotalNetAmountTotal Net Amount of Product
totalDeliveryFeeAmountConditionRateValueTotal Delivery Fee Amount
totalTaxAmountTotalNetAmount*ConditionRateValueTotal Tax Amount
salesOrderStatus.idNASales Order Status Id
salesOrderStatus.nameNASet to CREATED or SHIPPED
salesOrderStatus.auditInfo.createdByCreatedByUserCreatedBy User
salesOrderStatus.auditInfo.updatedByNAUpdatedBy
salesOrderStatus.auditInfo.updatedDateLastChangeDateUpdated Date
salesOrderStatus.auditInfo.createdDateCreationDateCreated Date
salesOrderStatus.auditInfo.isDeleted"false"Is Deleted or not
orderCurrencyTransactionCurrencyCurrency of Order
salesOrderType.idSalesOrderTypeSales Order Id
salesOrderType.nameSalesGroupSales Order Sales Group
externalIds.externalIdType"MDM"External Id Type
externalIds.externalIdYY1_SME_MORDERID_MFG_SDHSales Order External Id
externalIds.idSalesOrderSales Order Id
externalIds.statusLastChangedDateLastChangeDateTimeSales Order Status Last Changed DateTime
soldToCustomerSoldToPartySold to Customer
orderLineItems.idSalesOrderId of Order Line Items
orderLineItems.codeSalesOrderItemTextOrder Line Items Code
orderLineItems.descriptionSalesOrderItemTextOrder Line Items Description
orderLineItems.orderedQuantityRequestedQuantityOrdered Quantity of Order Line Items
orderLineItems.unitPriceAmountNetAmountUnit Price Amount
orderLineItems.totalPriceAmountNetAmountTotal Price Amount
orderLineItems.quantityOrderedUOMRequestedQuantityUnitRequested Quantity Unit
orderLineItems.orderProductNumberMaterialOrder Product Number
orderLineItems.orderedCurrencyTransactionCurrencyOrdered Currency
orderLineItems.totalLineAmountNetAmountTotal Line Amount

(back to top)

getOrderListResponse

Retrieve Sales Order List Response Mapping

Source: ./src/main/resources/dwl/getOrderListResponse.dwl

Mapping Tables

Get Sales Order List response mapping.

Resp FieldSales Order Source fieldDescription of source field
nameSenderBusinessSystemNameSales Order Name
idSalesOrderSales Order Id
orderNumberSalesOrderSales Order Number
descriptionSalesOrderItemTextSales Order Description
requestedStartDateCreationDateStart Date of Order
totalProductAmountTotalNetAmountTotal Net Amount of Product
totalDeliveryFeeAmountConditionRateValueTotal Delivery Fee Amount
totalTaxAmountTotalNetAmount*ConditionRateValueTotal Tax Amount
salesOrderStatus.idNASales Order Status Id
salesOrderStatus.nameNASet to CREATED or SHIPPED
salesOrderStatus.auditInfo.createdByCreatedByUserCreatedBy User
salesOrderStatus.auditInfo.updatedByNAUpdatedBy
salesOrderStatus.auditInfo.updatedDateLastChangeDateUpdated Date
salesOrderStatus.auditInfo.createdDateCreationDateCreated Date
salesOrderStatus.auditInfo.isDeleted"false"Is Deleted or not
orderCurrencyTransactionCurrencyCurrency of Order
salesOrderType.idSalesOrderTypeSales Order Id
salesOrderType.nameSalesGroupSales Order Sales Group
externalIds.externalIdType"MDM"External Id Type
externalIds.externalIdYY1_SME_MORDERID_MFG_SDHSales Order External Id
externalIds.idSalesOrderSales Order Id
externalIds.statusLastChangedDateLastChangeDateTimeSales Order Status Last Changed DateTime
soldToCustomerSoldToPartySold to Customer
orderLineItems.idSalesOrderId of Order Line Items
orderLineItems.codeSalesOrderItemTextOrder Line Items Code
orderLineItems.descriptionSalesOrderItemTextOrder Line Items Description
orderLineItems.orderedQuantityRequestedQuantityOrdered Quantity of Order Line Items
orderLineItems.unitPriceAmountNetAmountUnit Price Amount
orderLineItems.totalPriceAmountNetAmountTotal Price Amount
orderLineItems.quantityOrderedUOMRequestedQuantityUnitRequested Quantity Unit
orderLineItems.orderProductNumberMaterialOrder Product Number
orderLineItems.orderedCurrencyTransactionCurrencyOrdered Currency
orderLineItems.totalLineAmountNetAmountTotal Line Amount

(back to top)

updateOrdersRequest

Update Sales Order Request Mapping

Source: ./src/main/resources/dwl/updateOrdersRequest.dwl

Mapping Tables

Create Sales Order request mapping.

SAP HANA Order FieldCIM FieldDescription of source field
SalesOrderTypesalesOrderTypeSales Order Type
SalesOrderorderIdSales Order Number
SalesDistrictNASales District
SoldToPartysoldToCustomersoldToCustomer Id
PurchaseOrderByCustomerpurchaseOrderNumberpurchaseOrder Number
TotalNetAmounttotalProductAmountTotal net amount
TransactionCurrencyorderCurrencycurrency details
YY1_SME_MORDERID_MFG_SDHexternalIds.externalIdExternal ID

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 25, 2023
Asset overview

Asset versions for 2.2.x

Asset versions
VersionActions
2.2.5
2.2.4